package web;

import entity.Dept;
import service.impl.DeptServiceImpl;

import java.util.Scanner;

public class TestUpdeteDept {
    public static void main(String[] args) throws Exception {
       /* Scanner scanner = new Scanner(System.in);
        System.out.println("输入编号：");
        int deptno= scanner.nextInt();
//        System.out.println("输入地址：");
//        String loc= scanner.next();
        DeptServiceImpl deptService = new DeptServiceImpl();
        deptService.getSelectDept(deptno);*/

        int deptno=30;
        String loc="江西新余";
        Dept dept = new Dept(deptno,loc);
        DeptServiceImpl deptService = new DeptServiceImpl();
        deptService.updeteDept(dept);


    }
}
